package edu.jit.nsi.iot_ms.transport.httpclient.jsiot;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Setter;

@Setter
@Data
public class JSPlatSoilData extends JSPlatData{
    SoilKV data;

    public JSPlatSoilData(String tid, float temp, float humi, float ec){
        super(tid);
        data = new SoilKV(temp, humi, ec);
    }
    @Data
    @AllArgsConstructor
    private class SoilKV{
        float soilTemp;
        float soilMoisture;
        float soilEC;
    }
}
